#ifndef __RTC_TIME_H__
#define __RTC_TIME_H__


#include "time.h"
#include "stm32f10x.h"
#ifdef __cplusplus
 extern "C" {
#endif 


extern struct tm Time_ConvUnixToCalendar(time_t t);
extern time_t Time_ConvCalendarToUnix(struct tm t);
extern time_t Time_GetUnixTime(void);
extern struct tm Time_GetCalendarTime(void);
extern void Time_SetUnixTime(time_t);
extern void Time_SetCalendarTime(struct tm t);





#ifdef __cplusplus
 }
#endif 



#endif


